home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)P / (A)P1.ADF / Cycloids / README < prev    next >
Text File  |  1987-05-25  |  4KB  |  102 lines

  1.  
  2. Hypocycloid is essentially an electronic Spirograph inspired by the article
  3. Five Original Graphics in February 1984 BYTE.  Also, see articles in
  4. May-June 1984 Creative Computing for background on the hypocycloid and basic
  5. formula for drawing these.
  6.  
  7. Hypocycloid has been modifed for improved performance and now functions as
  8. a fairly effective cycloid construction set.
  9.  
  10. About the changes. . .
  11.  
  12. The main menu:
  13.  
  14. A dialog window retrieves new values for large and small radii, when you
  15. select the 'new' option from the main menu.  Clicking on okay causes the
  16. program to recalulate its initialization values and thereby sustains the
  17. drawing indefinitely.  Cancel restores the values in the radii boxes to
  18. their previous values.  You use this option to start a new figure based on
  19. the other menus, even if you didn't change the values in the large and small
  20. radius gadgets.
  21.  
  22. 'Go' begins the iteration process and continues to draw until either stopped
  23. with 'Stop' or the figure goes through 360 degrees of rotation.
  24. 'Go' no longer initiates a new series of iterations with different colors
  25. each time without going back to where 'stopped'. Stopping and starting will
  26. work with the same figure, as long as you don't exceed the 360 degrees of
  27. rotation.  Actually, you could enter the same values into the 'new'
  28. gadgets, hit 'go' and the drawing would proceed again, but it would draw the
  29. same figure again from the same starting point.  New figures can be drawn on
  30. old ones, each limited to 360 degrees of rotation.  The limit is 360 degrees
  31. because more rotation does not develop most patterns any further but only
  32. serves to muddle them.
  33.  
  34. 'Stop' stops the iteration after completing the current iteration.  This
  35. now works correctly (Hit 'stop', anytine and the program automatically
  36. finishes the current iteration.)
  37.  
  38. 'Color' -- new item -- adds a color palette for changing the startup
  39. defaults.  This is the Microsmiths palette from Charlie Heath. The program
  40. no longer alters the current colors each time 'new' or 'go' is selected.
  41.  
  42. 'Cycle' -- new item -- cycles through the 32 color table, using the custom
  43. color map set up by the palette routine.  This results in smoother color
  44. cycling than setting each color individually.  Cycling only occurs when the
  45. drawing has been stopped or stops after 360 degrees of rotation.
  46.  
  47. 'Save' saves drawing in iff.ilbm format, uncompressed, each picture taking
  48. about 40k disk space.  Now uses a dialog window to get filenames instead of
  49. closing down the drawing window and using the workbench console.  This
  50. enables saving and resuming on the same figure without starting the drawing
  51. all over at the beginning.  The pointer changes to a yield sign while the
  52. disk operations are taking place.  This alerts the user to the possible
  53. harmful effects of doing something while the save is proceeding.
  54.  
  55. Known bug:  Saving to a full disk will crash the computer.  The SavePicture
  56. routine doesn't know what to do with a disk full message from the system and
  57. everything freezes.  Will somebody please study iffwriter2.c and tell me how
  58. to work around this?!
  59.  
  60. 'Clear' clears the screen at any time the plotting has finished an iteration.
  61.  
  62. 'Quit' exits program.
  63.  
  64. Reduce:--default changed to 1.0--
  65.  
  66. The ratio of reduction of the first iteration to the last iteration, 1.0
  67. being 100% reduction. That is, the final iteration of the hypocycloid will be
  68. 100% smaller than the first iteration.
  69.  
  70. Begin:--default changed to .1--
  71.  
  72. (Hard to explain) The beginning reduction factor as part of the reduction
  73. ratio.  Increasing this produces more circular patterns or curls in the ends
  74. of the hypocycloid.  Starting at 0 makes the hypocycloid more pointed.
  75. Default is .1.
  76.  
  77. End:--default changed to .5--
  78.  
  79. The end reduction factor as part of the reduction ratio.  If less than the
  80. beginning reduction factor, the result is a figure that grows outward
  81. instead of inward (hard to believe, ain't it?). Experiment with this and the
  82. others!
  83.  
  84. Angle:--default changed to 9--
  85.  
  86. The angle of rotation where each iteration is offset from each other by this
  87. amount. Takes more rotation to produce significant displacement of the
  88. figure when the reduction factor is under 1.0.
  89.  
  90. #COL: new menu
  91.  
  92. Allows you to specify how many colors you want the program to use (1-10) to
  93. draw the figure.  Colors alternate with each new iteration. Default is 4.
  94.  
  95. Correspondence on this and any of my programs shoud be addressed to
  96.  
  97.       Terry W. Gintz
  98.       4430 Pinecrest Drive
  99.       Eugene, Or 97405
  100.  
  101.  
  102.